import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
const router=new VueRouter({
    routes:[
        {
            path:'/',
            component:()=>import('../view/Index.vue'),
            meta:{
                isShow:true
            }
        },{
            path:'/classify',
            component:()=>import('../view/Classify.vue'),
            meta:{
                isShow:true
            }
        },{
            path:'/cart',
            component:()=>import('../view/Cart.vue'),
            meta:{
                isShow:true
            }
        },{
            path:'/my',
            component:()=>import('../view/My.vue'),
            meta:{
                isShow:true
            }
        },{
            path:'/product',
            component:()=>import('../pages/Product.vue')
        },{
            path:'/detail',
            component:()=>import('../pages/Detail.vue')
        },
        {
            path:'/login',
            component:()=>import('../pages/Login.vue')
        }
    ]
    
})
export default router